home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Invenzioni & Inventori
/
Invenzioni and Inventori (Eclectica Publishing) (1996).ISO
/
invenzio
/
vivid
/
getat2.dir
/
00078_Script_78
< prev
next >
Wrap
Text File
|
1996-11-09
|
2KB
|
80 lines
on mouseDown
global resize,select
if select then exit
if not resize then
set list_old=[0,0,0,0,0]
set count=1
--mette i filmati presenti ad off
repeat with Loop in [32,33,39,40,41]
if the casttype of cast (the castnum of sprite Loop) = #digitalvideo then
if the visible of sprite Loop then
set rv=the castnum of sprite Loop
set the video of cast rv to false
--updatestage
setat list_old,count,the castnum of sprite Loop
set the castnum of sprite Loop to 86
--updatestage
set the video of cast rv to true
end if
end if
updatestage
set count = count+1
end repeat
-- simula il moveable
set SPRITE_=36
repeat while the mouseDown
-- set the loch of sprite SPRITE_ to the mouseH
-- set the locv of sprite SPRITE_ to the mouseV
updatestage
end repeat
set count=1
--mette i filmati presenti ad on
repeat with Loop in [32,33,39,40,41]
if getat (list_old,Count) then
set the castnum of sprite Loop to getat (list_old,Count)
end if
set count =count +1
end repeat
updatestage
else
global RESIZE,LARGHEZZA,PaginaCorrente,COUNTER
set MYSPRITE=36
set Corrente=getat(LARGHEZZA,PaginaCorrente)
set the CAST1 of Corrente=COUNTER
set text_ to the text of cast (the castnum of sprite MYSPRITE)
if COUNTER=1 then
set the castNum of sprite MYSPRITE = 41
else if COUNTER=2 then
set the castnum of sprite MYSPRITE =66
else if COUNTER=3 then
set the castnum of sprite MYSPRITE =67
else if COUNTER=4 then
set the castnum of sprite MYSPRITE =117
else if COUNTER=5 then
set the castnum of sprite MYSPRITE =118
else
set the castnum of sprite MYSPRITE =119
end if
set the text of cast (the castnum of sprite MYSPRITE) to text_
end if
set COUNTER=COUNTER+1
if COUNTER>6 then set COUNTER = 1
updatestage
end